package hanbo.service.impl;

import hanbo.dao.HanBoDao;
import hanbo.entity.HanBoEntity;
import hanbo.service.HanBoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("hanboService")
public class HanBoServiceImpl implements HanBoService {

    @Autowired
    HanBoDao hanBoDao;

    @Override
    public List<HanBoEntity> queryPage(String name) {
        return hanBoDao.queryPage(name);
    }

    @Override
    public void save(HanBoEntity hanBoEntity) {
        hanBoDao.save(hanBoEntity);
    }


}
